interface KeyAndValue {
  key: any;
  label: string;
}

/**季度*/
const options = [
  {
    quarter: 1,
    label: '第一季度'
  },
  {
    quarter: 2,
    label: '第二季度'
  },
  {
    quarter: 3,
    label: '第三季度'
  },
  {
    quarter: 4,
    label: '第四季度'
  }
];

// 定义季度标题列表并导出
const titleList: KeyAndValue[] = [
  {
    key: 'first',
    label: '第一季度(万元)'
  },
  {
    key: 'second',
    label: '第二季度(万元)'
  },
  {
    key: 'third',
    label: '第三季度(万元)'
  },
  {
    key: 'fourth',
    label: '第四季度(万元)'
  }
];

//调整方式
const types: KeyAndValue[] = [
  {
    label: '上调',
    key: 'up'
  },
  {
    label: '下调',
    key: 'down'
  }
];

const keyList: KeyAndValue[] = [
  {
    label: '调整前',
    key: 'beforeTotal'
  },
  {
    label: '调整',
    key: 'adjustTotal'
  },
  {
    label: '调整后',
    key: 'afterTotal'
  }
];

/*业务统计*/
const businessTypes: KeyAndValue[] = [
  {
    label: '一上',
    key: 1
  },
  {
    label: '一下',
    key: 2
  },
  {
    label: '二上',
    key: 21
  },
  {
    label: '二下',
    key: 22
  }
];

/*管理统计*/
const manageTypes: KeyAndValue[] = [
  {
    label: '一上',
    key: 3
  },
  {
    label: '一下',
    key: 4
  },
  {
    label: '二上',
    key: 23
  },
  {
    label: '二下',
    key: 24
  }
];

const exeTitleList: KeyAndValue[] = [
  {
    key: 'budget',
    label: '预算(万元)'
  },
  {
    key: 'execute',
    label: '执行(万元)'
  },
  {
    key: 'rate',
    label: '执行率'
  }
];

//默认三香院区
const defaultYard: string = 'sanxiang';
//默认登录部门名
const defaultDeptName: string = '登录部门';

export { defaultYard, defaultDeptName, titleList, types, keyList, businessTypes, manageTypes, options, exeTitleList };
